<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title><?php echo $titlePage; ?></title>
<link href="<?php echo base_url()?>css/style.css" rel="stylesheet" type="text/css" />
<?php 
	foreach($arrayScripts as $item){
		echo "<script src=\"".$item."\" type=\"text/javascript\"></script>\n";
	}
?>

<div id="fb-root"></div>
<script>(function(d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) return;
  js = d.createElement(s); js.id = id;
  js.src = "//connect.facebook.net/vi_VN/all.js#xfbml=1&appId=194314227424849";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>

</head>

<body>
<div id="container">
	<header id="header">
    	<?php 
			
			$this->load->view('templates/default/header.php');
			
		?>
    </header>
    <nav id="navigation">
    	<?php 
			$this->load->view('templates/default/menu.php');
		?>
    </nav>
    <div id="side">
        
    </div>
    <article id="content">
    	<?php 
			if(!empty($arrayBreadcrumb)){
		?>
				<div class="Breadcrumb">
					<ul>
                    	<?php foreach($arrayBreadcrumb as $bread){?>
						<li><a href="<?php echo $bread["url"]?>"><?php echo $bread["name"]?></a></li>
						<?php }?>
					</ul>
                 </div>
         <?php
			}
		?>
    	<div id="allfull">
        	<div class="wapper">
			<?php 
                if(!empty($data_content)){
                    $this->load->view($content_layout,$data_content);
                }else{
                    $this->load->view($content_layout);
                }
            ?>
        	</div>
        </div>
        
        <div class="clear"></div>
    </article>
    <footer id="footer">
    	<?php 
			if(!empty($data_footer)){
				$this->load->view('templates/default/footer.php',$data_footer);
			}else{
				$this->load->view('templates/default/footer.php');
			}
		?>
    </footer>
</div>
</body>
</html>
